package com.springcloud.auth.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @description: 登录dto
 * @author: hzl
 * @time: 2021/1/13 0013 16:13
 */
@Data
public class LoginParam {

    @NotBlank(message = "用户名不能为空")
    private String userName;

    @NotBlank(message = "密码不能为空")
    private String password;

//    @NotBlank(message = "验证码不能为空")
//    private String code;
}


